MercadoPago\Woocommerce\Notification\CoreNotification S

Total Complexity 45
Dependencies 8
Dependents 1
Total lines 329
Lines of code 162
Logical lines of code 93
Comment lines 93
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
handleRefundNotification()
S
51 7 27
updatePaymentDetails()
S
51 6 25
isValidRefund()
S
56 6 18
isValidPaymentsDetailsStructure()
S
68 5 7
handleReceivedNotification()
S
55 3 20
getProcessedStatus()
S
62 3 11
shouldProcessRefund()
S
71 3 5
getNotificationId()
S
69 2 7
handleSuccessfulRequestInternal()
S
64 2 10
isRefundNotification()
S
78 2 3
getInput()
S
80 1 3
validateNotificationId()
S
78 1 3
getSdkInstance()
S
68 1 7
logStatusChange()
S
65 1 10
sendRefundSuccessMetric()
S
79 1 3
sendRefundErrorMetric()
S
79 1 3